﻿using System.Web.Mvc;

namespace GroceryPriceBook.Infrastructure
{
	internal static class TagBuilderExtensions
	{
		internal static MvcHtmlString ToMvcHtmlString(this TagBuilder tagBuilder, TagRenderMode renderMode)
		{
			return new MvcHtmlString(tagBuilder.ToString(renderMode));
		}
	}
}